package com.base.service.impl;

import com.base.mapper.voipmapper.CarParkGoodsMapper;
import com.base.po.voip.CarParkGoods;
import com.base.po.voip.CarParkGoodsExample;
import com.base.service.CarParkGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("carParkGoodsService")
public class CarParkGoodsServiceImpl implements CarParkGoodsService {
	
	@Autowired
	private CarParkGoodsMapper carParkGoodsMapper;

	@Override
	public int countByExample(CarParkGoodsExample example) {
		return carParkGoodsMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(CarParkGoodsExample example) {
		return carParkGoodsMapper.deleteByExample(example);
	}

	@Override
	public int insert(CarParkGoods record) {
		return carParkGoodsMapper.insert(record);
	}

	@Override
	public int insertSelective(CarParkGoods record) {
		return carParkGoodsMapper.insertSelective(record);
	}

	@Override
	public List<CarParkGoods> selectByExample(CarParkGoodsExample example) {
		return carParkGoodsMapper.selectByExample(example);
	}

	@Override
	public CarParkGoods selectByPrimaryKey(String id) {
		return carParkGoodsMapper.selectByPrimaryKey(id);
	}

	@Override
	public CarParkGoods selectByParentId(String parentid) {
		return carParkGoodsMapper.selectByParentId(parentid);
	}

	@Override
	public int updateByExampleSelective(CarParkGoods record, CarParkGoodsExample example) {
		return carParkGoodsMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(CarParkGoods record, CarParkGoodsExample example) {
		return carParkGoodsMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(CarParkGoods record) {
		return carParkGoodsMapper.updateByPrimaryKeySelective(record);
	}
}
